Automattic\Jetpack\Sync\REST_Endpoints A

Total Complexity 66
Dependencies 13
Dependents 0
Total lines 862
Lines of code 554
Logical lines of code 160
Comment lines 211
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
initialize_rest_api()
B
26
1 272
close()
A
45 10 39
full_sync_start()
A
52 8 24
data_histogram()
S
50 7 29
checkout()
S
52 7 22
update_sync_settings()
S
57 5 17
sync_health()
S
59 3 15
verify_default_permissions()
S
62 3 11
get_sync_objects()
S
55 2 19
spawn_sync()
S
60 2 15
validate_queue()
S
64 3 9
sanitize_item_ids()
S
69 3 6
do_sync()
S
61 2 13
unlock_queue()
S
60 2 13
get_object_id_range()
S
60 2 13
data_check()
S
65 2 9
is_valid_sync_module()
S
63 1 13
get_sync_settings()
S
80 1 3
sync_status()
S
75 1 4
reset_locks()
S
68 1 8